package com.tansun.easycare.rule.rulelog.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.tansun.easycare.rule.common.service.impl.RuleBaseServiceImpl;
import com.tansun.easycare.rule.rulelog.dao.RuleLogDetailsDao;
import com.tansun.easycare.rule.rulelog.entity.RuleLogDetails;
import com.tansun.easycare.rule.rulelog.service.RuleLogDetailsService;

@Service("ruleLogDetailsService")
public class RuleLogDetailsServiceImpl extends RuleBaseServiceImpl<RuleLogDetailsDao, RuleLogDetails> implements RuleLogDetailsService {

	@Override
	public List<RuleLogDetails> findListColumn(RuleLogDetails ruleLogDetails) {
		return this.dao.groupfindListColumn(ruleLogDetails);
	}
	/**
	 * 统计已用组件
	 */
	public List<RuleLogDetails> findUsedRuleCount(RuleLogDetails ruleLogDetails) {
		return this.dao.findUsedRuleCount(ruleLogDetails);
	}
}